// pages/consgoodsStore/consgoodsStore.js
Page({

    /**
     * 页面的初始数据
     */
    data: {
        imgUrls: [
            '/images/consgoodsStore/Bitmap@2x.png',
        ], //banner
        sortList: [{
                id: 0,
                icon: '/images/consgoodsStore/save.png',
                label: '收藏艺术'
            },
            {
                id: 1,
                icon: '/images/consgoodsStore/zhuangshi.png',
                label: '装饰艺术',

            },
            {
                id: 2,
                icon: '/images/consgoodsStore/life.png',
                label: '生活艺术'
            },
            {
                id: 3,
                icon: '/images/consgoodsStore/ground.png',
                label: '场景艺术'
            },
            {
                id: 4,
                icon: '/images/consgoodsStore/doctor.png',
                label: '大师艺术'
            },
        ],
        goodsList: [{
            img: "/images/consgoodsStore/hot1.png",
            goodsname: '水墨画国画框画现代…',
            price: 120.00
        }, {
            img: "/images/consgoodsStore/hot2.png",
            goodsname: '水墨画国画框画现代…',
            price: 120.00
        }, {
            img: "/images/consgoodsStore/hot3.png",
            goodsname: '水墨画国画框画现代…',
            price: 120.00
        }, {
            img: "/images/consgoodsStore/hot5.png",
            goodsname: '水墨画国画框画现代…',
            price: 120.00
        }, {
            img: "/images/consgoodsStore/hot6.png",
            goodsname: '水墨画国画框画现代…',
            price: 120.00
        }],
        themelist: [{
            img: "/images/consgoodsStore/shuimo.png",
            label: '水墨画',
        }, {
            img: "/images/consgoodsStore/youhua.png",
            label: '油画',
        }, {
            img: "/images/consgoodsStore/banhua.png",
            label: '版画',
        }, {
            img: "/images/consgoodsStore/shanshui.png",
            label: '山水画',
        }, {
            img: "/images/consgoodsStore/guohua.png",
            label: '传统国画',
        }, {
            img: "/images/consgoodsStore/tianyuan.png",
            label: '田园诗意',
        }, ],
    },
    /**
     * 跳转去页面
     */
    e_gopage(e){
        wx.navigateTo({
            url: '/pages/goodssort/goodssort',
        })
    }, 
    /**
     * 跳转去搜索页面
     */
    e_gosearch(){
        wx.navigateTo({
            url: '/pages/search/search',
        })
    },
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function(options) {

    },

    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady: function() {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow: function() {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide: function() {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload: function() {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh: function() {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom: function() {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage: function() {

    }
})